home *** CD-ROM | disk | FTP | other *** search
- property pSpr
-
- on beginSprite me
- pSpr = sprite(me.spriteNum)
- dateLocs = [#AT: point(306, 295), #CG: point(305, 282), #EM: point(313, 211), #JF: point(190, 117), #KY: point(311, 234), #LC: point(195, 108), #LG: point(305, 282), #LM: point(314, 220), #LN: point(306, 295), #RN: point(313, 275), #TF: point(311, 230), #XF: point(311, 219)]
- pCharCode = currentChar()
- thisChar = string(pCharCode)
- dateLoc = getaProp(dateLocs, pCharCode)
- if voidp(dateLoc) then
- pSpr.visible = 0
- exit
- end if
- pSpr.visible = 1
- pSpr.member.text = formatExpirationDate(sprite(getActiveCharacter()).pExpirationDate)
- pSpr.member.color = pink()
- pSpr.loc = dateLocs[pCharCode]
- end
-
- on endSprite
- pSpr.visible = 1
- end
-